package top.hundreds.oasys.mapper;

import top.hundreds.oasys.bean.entity.MeetingParticipant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * (MeetingParticipant)表数据库访问层
 *
 * @author lcf
 * @since 2021-02-03 16:07:19
 */
public interface MeetingParticipantMapper extends BaseMapper<MeetingParticipant> {
    List<Long> getUserIdsByMeetingId(Long meetingId);

    void deleteByMeetingId(Long meetingId);

    List<Long> getMeetingIdsByUserId(Long userId, Integer offset, Integer limit);
}
